package com.drinks.yiniang.entity.user.wine;

import com.drinks.yiniang.entity.goods.GoodsJson;
import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 酒单详情
 * @author han
 * @date 2019/12/6
 */
public class WineListDetailJson extends BaseJson {

    private WineListDetailData data;

    public WineListDetailData getData() {
        return data;
    }

    public void setData(WineListDetailData data) {
        this.data = data;
    }

    public static class WineListDetailData {
        private String id;
        private String fans_id;
        private String title;
        private String mark;
        private String is_recommend;
        //点赞数
        private String like_count;
        //评论数
        private String comment_count;
        //收藏数
        private String collect_count;
        private String username;
        private String avatar;
        //是否点赞
        private String is_like;
        //是否收藏
        private String is_collect;
        //创建时间
        private String created_time;
        //商品
        private List<WineListDetailGoods> goods;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public String getIs_recommend() {
            return is_recommend;
        }

        public void setIs_recommend(String is_recommend) {
            this.is_recommend = is_recommend;
        }

        public String getLike_count() {
            return like_count;
        }

        public void setLike_count(String like_count) {
            this.like_count = like_count;
        }

        public String getComment_count() {
            return comment_count;
        }

        public void setComment_count(String comment_count) {
            this.comment_count = comment_count;
        }

        public String getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(String collect_count) {
            this.collect_count = collect_count;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getIs_like() {
            return is_like;
        }

        public void setIs_like(String is_like) {
            this.is_like = is_like;
        }

        public String getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(String is_collect) {
            this.is_collect = is_collect;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public List<WineListDetailGoods> getGoods() {
            return goods;
        }

        public void setGoods(List<WineListDetailGoods> goods) {
            this.goods = goods;
        }
    }

    public static class WineListDetailGoods {
        private String id;
        private String name;
        private String app_price;
        private String recommend_reason;
        private String cover_url;
        private List<GoodsJson.GoodsActivity> activity;
        //加入理由
        private String join_reason;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getApp_price() {
            return app_price;
        }

        public void setApp_price(String app_price) {
            this.app_price = app_price;
        }

        public String getRecommend_reason() {
            return recommend_reason;
        }

        public void setRecommend_reason(String recommend_reason) {
            this.recommend_reason = recommend_reason;
        }

        public String getCover_url() {
            return cover_url;
        }

        public void setCover_url(String cover_url) {
            this.cover_url = cover_url;
        }

        public List<GoodsJson.GoodsActivity> getActivity() {
            return activity;
        }

        public void setActivity(List<GoodsJson.GoodsActivity> activity) {
            this.activity = activity;
        }

        public String getJoin_reason() {
            return join_reason;
        }

        public void setJoin_reason(String join_reason) {
            this.join_reason = join_reason;
        }
    }
}
